home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
BUSINESS
/
CPGNZ22.ARJ
/
CAPGNZBU.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-02-18
|
664b
|
35 lines
ECHO OFF
REM Simple batch file to backup Capital Gainz data files.
REM Single parameter - letter of drive (A or B) to copy files to.
PAUSE Hit any key to begin backup to drive %1 (CNTL-C to abort)
IF "%1" == "a" GOTO BACKUPA
IF "%1" == "A" GOTO BACKUPA
IF "%1" == "a:" GOTO BACKUPA
IF "%1" == "A:" GOTO BACKUPA
IF "%1" == "b" GOTO BACKUPB
IF "%1" == "B" GOTO BACKUPB
IF "%1" == "b:" GOTO BACKUPB
IF "%1" == "B:" GOTO BACKUPB
ECHO Backup Failed - Can only backup to Drive A or B.
GOTO END
:BACKUPA
COPY *.DAT A:
COPY *.K01 A:
GOTO ENDOK
:BACKUPB
COPY *.DAT B:
COPY *.K01 B:
GOTO ENDOK
:ENDOK
ECHO Backup Succeeded !
:END